<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            {HD: include file="../Common/header.html"}
            {HD: css file='list.css'}
            <div id='location'>
                <a href="{HD: $smarty.const.__ROOT__}?c=List&cid=0">全部分类</a>
                {HD: section loop=$cate_list name=n}
                {HD: if !$smarty.section.n.last}
                &gt;&nbsp;<a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cate_list[n].cid}">{HD: $cate_list[n].title}</a>
                {HD: else}
                &gt;&nbsp;{HD: $cate_list[n].title}&nbsp;&nbsp;
                {HD: /if}
                {HD: /section}


            </div>

            <!--------------------中部-------------------->
            <div id='center'>
                <div id='left'>
                    <div id='cate-list'>
                        <p class='title'>按分类查找</p>
                        <ul>
                            {HD: section loop=$cateinfo name=n}
                            <li>
                                <a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cateinfo[n].c}">{HD: $cateinfo[n].title}</a>
                            </li>
                            {HD: /section}
                        </ul>
                    </div>
                    <div id='answer-list'>
                        <ul class='ans-sel'>
                            <li class='{HD: if $smarty.get.where!=1 && $smarty.get.where!=2 && $smarty.get.where!=3 }on{HD: /if}'>
                                <a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cateid.pid}&where=0">待解决问题</a>
                            </li>
                            <li class="{HD: if $smarty.get.where==1 }on{HD: /if}">
                                <a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cateid.pid}&where=1">已解决</a>
                            </li>
                            <li class="{HD: if $smarty.get.where==2 }on{HD: /if}">
                                <a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cateid.pid}&where=2">高悬赏</a>
                            </li>
                            <li class="{HD: if $smarty.get.where==3 }on{HD: /if}">
                                <a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cateid.pid}&where=3">零回答</a>
                            </li>
                        </ul>
                        <!-- 待解决问题 -->
                        <table>
                            <tr>
                                <th class='t1'>标题</th>
                                <th>回答数</th>
                                <th>时间</th>
                            </tr>
                            {HD: section loop=$question name=n}
                            <tr>
                                <td class='t1 cons'>
                                    <a href="{HD: $smarty.const.__ROOT__}?c=show&asid={HD: $question[n].asid}&cid={HD: $question[n].cid}">
                                        <b>{HD: $question[n].reward }</b>{HD: $question[n].content }</a>&nbsp;&nbsp;[{HD: $question[n].title }]
                                </td>
                                <td>{HD: $question[n].answer}</td>
                                <td>{HD: $question[n].time|date_format:'%Y-%m-%d %H:%m' }</td>
                            </tr>
                            {HD: /section}

                            <tr class='page'>
                                <td colspan='3'>
                                    <a href="">1</a>
                                    <a href="">2</a>
                                    <a href="">3</a>
                                </td>
                            </tr>
                        </table>

                    </div>
                </div>

                <!-- 右侧 -->
                {HD: include file="../Common/right.html"}
                <!-- ---右侧结束---- -->
            </div>
            <!--------------------中部结束-------------------->

            <!-- 底部 -->
            <div id='bottom'>
                <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
                <p>京公安网备xxxxxxxxxxxx</p>
            </div>
            <!--[if IE 6]>
                <script type="text/javascript" src="{HD: $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
                <script type="text/javascript">
                    DD_belatedPNG.fix('.logo','background');
                    DD_belatedPNG.fix('.nav-sel a','background');
                    DD_belatedPNG.fix('.ask-cate i','background');
                </script>
            <![endif]-->
            </body>
            </html>
            <!-- 底部结束 -->